// 配置pinia及其持久化插件
import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)
export default pinia

// 配置统一导出modules下的所有仓库
export * from './modules/user'
export * from './modules/category'
export * from './modules/localCart'
